<template>
  <div class="tab-bar">
    <slot></slot>
  </div>
</template>

<script>
  export default {
    name: "TabBar",
    props: {}
  }
</script>

<style scoped>
  .tab-bar {
    /*调整对齐*/
    padding: 0;
    margin: 0;

    display: flex;
    background-color: #f6f6f6;

    /*调整位置*/
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;

    /*添加阴影*/
    box-shadow: 0 -3px 2px rgba(100, 100, 100, 0.2);
  }
</style>
